package com.xiaoshuidi.cloud.module.contract.controller.admin.bill.vo.ownerOrder;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;


/**
 * 管理后台 - 账单 Response VO
 */
@Schema(description = "管理后台 - 账单 Response VO")
@Data
@ToString(callSuper = true)
public class OwnerOrderRespVO {

    /**
     * 账单ID
     */
    @Schema(description = "账单ID")
    private String id;

    /**
     * 账单编号
     */
    @Schema(description = "账单编号")
    private String orderNo;

    /**
     * 房源
     */
    @Schema(description = "房源")
    private String houseName;

    /**
     * 业主姓名
     */
    @Schema(description = "业主姓名")
    private String ownerName;

    /**
     * 账单类型
     */
    @Schema(description = "账单类型")
    private String orderType;

    /**
     * 资金流向
     */
    @Schema(description = "资金流向")
    private String flowType;

    /**
     * 账单金额
     */
    @Schema(description = "账单金额")
    private BigDecimal totalAmount;

    /**
     * 应付款时间
     */
    @Schema(description = "应付款时间")
    private LocalDate oughtPayTime;

    /**
     * 账单状态
     */
    @Schema(description = "账单状态")
    private Integer orderStatus;

    /**
     * 支付状态
     */
    @Schema(description = "支付状态")
    private String payStatus;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    private LocalDate startTime;

    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    private LocalDate endTime;

    /**
     * 银行卡号
     */
    @Schema(description = "银行卡号")
    private String creditCard;
    /**
     * 所属银行
     */
    @Schema(description = "所属银行")
    private String bank;
    /**
     * 持卡人
     */
    @Schema(description = "持卡人")
    private String cardholder;
    /**
     * 所属支行
     */
    @Schema(description = "所属支行")
    private String branchBank;
    /**
     * 支行省
     */
    @Schema(description = "支行省")
    private String bankProvince;
    /**
     * 支行市
     */
    @Schema(description = "支行市")
    private String bankCity;
    /**
     * 支行编码
     */
    @Schema(description = "支行编码")
    private String bankCode;

    /**
     * 已收账单总额
     */
    @Schema(description = "已收账单总额")
    private BigDecimal paidRentUtilities;

    /**
     * 应付款金额
     */
    @Schema(description = "应付款金额")
    private BigDecimal amount;
    @Schema(description = "是否中止付款")
    private Boolean suspend;
    @Schema(description = "中止付款时间")
    private LocalDateTime suspendAt;

    /**
     * 审批状态
     */
    @Schema(description = "审批状态")
    private String approvedStatus;

    /**
     * 实付金额
     */
    @Schema(description = "实付金额")
    private BigDecimal actualPaymentAmount;
}
